const area = {
  namespaced: true,
  state() {
    return {
      //弹出框状态
      isArea: false,
      //  city值
      city: "全部",
    };
  },
  mutations: {
    //修改弹出框状态
    handleIsArea(state) {
      state.isArea = !state.isArea;
    },
    //选择城市
    handleCity(state, value) {
      // console.log("area.js", value);
      state.city = value;
    },
  },
};
export default area;
